package com.bosssoft.trainee.nontax.entity.po;

import lombok.*;
import org.springframework.data.annotation.Version;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.io.Serializable;

@Component
@Builder
@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(of={"roleId"})
public class Role implements Serializable {
    private static final long serialVersionUID = -58318840016377768L;
    
    private Integer roleId;
    
    private String roleName;
    
    private String roleDesc;
    
    private Date updateTime;
    
    private Date createTime;

    @Version
    private long version;
}

